PaymentPlugins\WooCommerce\PPCP\PaymentButtonController S

Total Complexity 38
Dependencies 4
Dependents 6
Total lines 173
Lines of code 132
Logical lines of code 65
Comment lines 3
Methods 16
Properties 9

Methods 16

Method Rating Maintainability Complexity Lines of code
render_product_buttons()
S
56 6 17
render_cart_buttons()
S
58 5 15
render_express_buttons()
S
57 4 17
render_checkout_button()
S
65 4 10
get_order_review_fragments()
S
59 3 14
render_minicart_buttons()
S
63 3 11
initialize()
S
61 2 12
init_dependencies()
S
71 2 5
add_product_action()
S
66 2 8
__construct()
S
74 1 5
set_render_cart_buttons()
S
81 1 3
set_render_product_buttons()
S
81 1 3
set_render_express_buttons()
S
81 1 3
set_cart_location()
S
81 1 3
set_minicart_location()
S
81 1 3
get_minicart_location()
S
82 1 3